package com.fjnu.fjnu_grade_demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fjnu.fjnu_grade_demo.moudle.SingleGradeRankMoudle;
import com.fjnu.fjnu_grade_demo.moudle.TotalGradeRankMoudle;
import com.fjnu.fjnu_grade_demo.moudle.entity.Student;
import com.fjnu.fjnu_grade_demo.moudle.entity.StudentCourseGrade;
import com.fjnu.fjnu_grade_demo.moudle.entity.StudentTotalGrade;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IAdminService extends IService<StudentCourseGrade> {

    List<TotalGradeRankMoudle> getTotalStudentGradeRank();
    List<SingleGradeRankMoudle> getSingleCourseGradeRank(String courseName);
    String deleteStudentMessage(String studentId);
    StudentTotalGrade getOneTotalGradeRank(String studentId, String academicYear, String semester);
    SingleGradeRankMoudle getOneSingleGradeRank(String studentId, String courseName);
    String deleteAcademicYearSemesterMessage(String academicYear,String semester);
    String addStudentMessage(Student student);
}
